tags:
  - cmd
summary: 执行redis指令
description: 执行redis指令
operationId: "{{ uniqueOpId() }}"
requestBody:
  content:
    application/json:
      schema:
        type: object
        properties:
          token:
            type: string
            description: 访问令牌
          id:
            type: string
            description: redis连接ID
          args:
            type: array
            items:
              type: string
            description: "参数列表"
responses:
  "200":
    description: 成功
    content:
      application/json:
        schema:
          oneOf:
            - type: string
            - type: number
            - type: boolean
            - type: array
              items:
                oneOf:
                  - type: string
                  - type: number
                  - type: boolean
  "500":
    description: 失败
    content:
      application/json:
        schema:
          $ref: "@schemas/errInfo.yml.njk"
